//
//  MKUIElementListViewCellSelection+Test.h
//  MKUITestApp
//
//  Created by 苏尚进 on 2023/10/31.
//  Copyright © 2023 moon. All rights reserved.
//

#import <MKUI/MKUI.h>

#define TESTAS_EnumTypeSelectOptions(EnumType) + (MKUIElementListViewCellSelection *)testElement##EnumType:(NSString *)title selected:(EnumType)selectedValue whenDone:(void(^)(EnumType selectedValue))block;

NS_ASSUME_NONNULL_BEGIN

@interface MKUIElementListViewCellSelection (Test)
+ (MKUIElementListViewCellSelection *)testUIColorElementWithTitle:(NSString *)title selected:(UIColor *)selectedValue whenDone:(void(^)(UIColor *selectedValue))block;

+ (MKUIElementListViewCellSelection *)testUIEdgeInsetsElementWithTitle:(NSString *)title selected:(UIEdgeInsets)selectedValue whenDone:(void(^)(UIEdgeInsets selectedValue))block;

+ (MKUIElementListViewCellSelection *)testNSIntegerElementWithTitle:(NSString *)title selected:(NSInteger)selectedValue whenDone:(void(^)(NSInteger selectedValue))block;

+ (MKUIElementListViewCellSelection *)testNSStringElementWithTitle:(NSString *)title selected:(NSString *)selectedValue whenDone:(void(^)(NSString *selectedValue))block;

TESTAS_EnumTypeSelectOptions(MKUItemFlowCollectionViewScrollDirection)
TESTAS_EnumTypeSelectOptions(MKUIListViewCellSeparatorStyle)
TESTAS_EnumTypeSelectOptions(UIAlertActionStyle)
TESTAS_EnumTypeSelectOptions(UIAlertControllerStyle)
TESTAS_EnumTypeSelectOptions(MKUIAlertViewStyle)
TESTAS_EnumTypeSelectOptions(MKUIAlertActionStyle)
@end

MKAS_EnumTypeCategories(MKUItemFlowCollectionViewScrollDirection)
MKAS_EnumTypeCategories(MKUIListViewCellSeparatorStyle)
MKAS_EnumTypeCategories(UIAlertActionStyle)
MKAS_EnumTypeCategories(UIAlertControllerStyle)
MKAS_EnumTypeCategories(MKUIAlertViewStyle)
MKAS_EnumTypeCategories(MKUIAlertActionStyle)

NS_ASSUME_NONNULL_END
